package com.gaolang.web.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gaolang.web.entities.User;
import com.gaolang.web.vo.UserVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author gaolang
 * @since 2021-02-22
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    /**
     *查询用户信息
     * @return
     */
    IPage<User> findUserPage(IPage<User> page,@Param("userVO") UserVO userVO);
}
